package xyz.gpgl.erp.logic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 股票价格表
 * </p>
 *
 * @author liubo
 * @since 2021-05-12
 */
@Data
@ToString
@Accessors(chain = true)
@ApiModel(value="LogicSharesPrice对象", description="股票价格表")
public class LogicSharesPrice implements Serializable {

    private static final long serialVersionUID = 1;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO )
    private Integer id;

    @ApiModelProperty(value = "股票ID")
    private Integer sharesId;

    @ApiModelProperty(value = "设定购买价")
    private BigDecimal buyPrice;

    @ApiModelProperty(value = "设定销售价")
    private BigDecimal sellPrice;

    @ApiModelProperty(value = "当前登录人帐号")
    private String username;

}
